Skip to content

Conversation

@ajzobro
Copy link
Contributor

@ajzobro ajzobro commented Dec 18, 2025

Description

Converted the list of queues displayed on the agent detail page into a table (matching the format of the queue_detail page exactly).

image

Resolved issues

Resolves CERTF-756.

Documentation

No documentation changes required for web interface change.

Web service API changes

N/A

Tests

Updated server/devel/create_sample_data.py to allow for a random number of queues to be attributed to each agent for better testing.

@ajzobro ajzobro mentioned this pull request Dec 18, 2025
…port of adding more human readable YAML output format for displaying job counts, and included documentation for the various uses of the agent-status command.
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 70.99%. Comparing base (563acb6) to head (9a41fa6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #853      +/-   ##
==========================================
- Coverage   71.38%   70.99%   -0.40%     
==========================================
  Files         108      108              
  Lines        9674     9533     -141     
  Branches      860      844      -16     
==========================================
- Hits         6906     6768     -138     
- Misses       2595     2596       +1     
+ Partials      173      169       -4     
Flag Coverage Δ *Carryforward flag
agent 72.83% <ø> (-0.03%) ⬇️ Carriedforward from d5762d5
cli 88.01% <ø> (+0.11%) ⬆️ Carriedforward from d5762d5
device 54.23% <ø> (-0.98%) ⬇️ Carriedforward from d5762d5
server 87.73% <91.66%> (+0.02%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
Agent 72.83% <ø> (-0.03%) ⬇️
CLI 88.01% <ø> (+0.11%) ⬆️
Common ∅ <ø> (∅)
Device Connectors 54.23% <ø> (-0.98%) ⬇️
Server 87.73% <91.66%> (+0.02%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@rene-oromtz rene-oromtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this!
I just reviewed an added some comment, personally, I think we should skip the modifications in the CLI as this would be a breaking change.

I think the visual aid in the UI is useful but if we were to get the number or jobs in the queue, we already have queue_status which could be scripted with the queues from agent_status.

Also, thanks for adding the docs! I think we also should create a separate issue to document more properly the CLI...

@ajzobro
Copy link
Contributor Author

ajzobro commented Jan 5, 2026

this would be a breaking change.

I looked at it this way: if looping over a "list" and now looping over a "dictionary" the new keys will be the same as the former values would have been.

I could add another argument to include the number of waiting jobs, but that is inconsistent with providing all the data.

The yaml format is much more human readable out of the box, and there was already yaml support for other commands, I merely expanded upon it.

Another option is to support the number of jobs in the yaml format, and skip the json format.

I find it strange that we feed in yaml files but then spit out json.

@ajzobro ajzobro force-pushed the CERTTF-756-display-number-of-jobs branch from 6125eb2 to 651ba81 Compare January 5, 2026 21:33
Co-authored-by: rene-oromtz <157750458+rene-oromtz@users.noreply.github.com>
@rene-oromtz rene-oromtz self-requested a review January 6, 2026 17:26
rene-oromtz
rene-oromtz previously approved these changes Jan 6, 2026
Copy link
Contributor

@rene-oromtz rene-oromtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

@rene-oromtz
Copy link
Contributor

rene-oromtz commented Jan 7, 2026

@ajzobro can you please take a look at the failing CI. There is a long line that needs to be addressed before approving/merging

I rerun the other CI run since it was failing due to the bug described in #864 but it should pass in your next commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants